package quick.start.core.exception;

/**
 * {@link ResultException}分类下的Get/查询类型操作的返回异常 <br/>
 * 若服务器端的<strong>正常返回</strong>中表达了<strong>返回数据不可被识别</strong>的语义, 则抛出此类异常. <br/>
 * 如:返回的数据不可被正确解析, 则抛出此类异常
 * 
 */
public class NullDataException extends ResultException {

    private static final long   serialVersionUID = -4847880780424066243L;
    private static final String ERROR_DATA_NULL  = "意外地获取数据为空";

    public NullDataException() {
        super(ERROR_DATA_NULL);
    }

    public NullDataException(Exception e) {
        super(ERROR_DATA_NULL, e);
    }

    public NullDataException(String detailMessage) {
        super(detailMessage);
    }

    public NullDataException(String detailMessage, Exception e) {
        super(detailMessage, e);
    }

}
